package org.androidpn.adapter;

import java.util.List;

import org.androidpn.R;
import org.androidpn.model.CFriend;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;

public class UserListLvAdapter extends BaseAdapter {
    Context context;
    private List<CFriend> datas;
	public void setDatas(List<CFriend> datas) {
		this.datas = datas;
	}
	public UserListLvAdapter(Context context){
		this.context =context;
	}
	@Override
	public int getCount() {
		// TODO Auto-generated method stub
		return datas.size();
	}

	@Override
	public Object getItem(int arg0) {
		// TODO Auto-generated method stub
		return datas.get(arg0);
	}

	@Override
	public long getItemId(int arg0) {
		// TODO Auto-generated method stub
		return arg0;
	}

	@Override
	public View getView(int arg0, View arg1, ViewGroup arg2) {
		// TODO Auto-generated method stub
//		View.inflate(context, R.layout., root)
		return null;
	}

}
